package com.hc.service;

import com.hc.entity.QcMonitor;
import com.hc.model.QcRecordStatus;
import com.hc.model.QualityControlReportList;
import com.hc.model.WorkbenchModel;

import java.util.List;
import java.util.Map;

/**
 * @author LiuZhiHao
 * @date 2020/9/9 14:16
 * 描述:
 **/
public interface EquipmentRecordServiceImplUtilService {

     List<QcRecordStatus> inspectionStatus(List<QcRecordStatus> qcRecordStatuses);

     List<QcRecordStatus> workStatus(List<QcRecordStatus> qcRecordStatusesa, List<QcRecordStatus> qcRecordStatusesb);

     void setWorkbenchModelUserName(List<WorkbenchModel> listResult);

     Map<Integer, String> getEqNameMap(List<Integer> eqIds);


    List<QualityControlReportList> setQualityControlReportUserName(List<QualityControlReportList> collecter);


    void setDigitalSignatureAttribute(List<QualityControlReportList> collecter);


    void setRecordInPYX(int eqId, String date,
                                QualityControlReportList qualityControlReportList,
                                Map<Integer, List<QcMonitor>> qcMonitorsMap,
                                Map<String, List<QcMonitor>> qcMonitorsMap2, String type,
                                Map<String, String> allSysUserinfoByIds);

    void setRecordInXWJ(int eqId, String date,
                                QualityControlReportList qualityControlReportList,
                                Map<Integer, List<QcMonitor>> qcMonitorsMap,
                                Map<String, List<QcMonitor>> qcMonitorsMap2, String type,
                                Map<String, String> allSysUserinfoByIds);

    /**
     * 设置对应设备指定时间的维护记录,将维护记录的数据拼接成字符串添加到QualityControlReportList对象的属性中
     *
     * @param eqId                     设备id
     * @param qualityControlReportList QualityControlReportList对象
     * @param qcMonitorsMap            以设备id为键，以QcMonitor对象的属性设备id和键相同的QcMonitor集合组成的map对象
     */
     void setRecord(int eqId, String date,
                           QualityControlReportList qualityControlReportList,
                           Map<Integer, List<QcMonitor>> qcMonitorsMap,
                           Map<String, List<QcMonitor>> qcMonitorsMap2, String type,
                           Map<String, String> allSysUserinfoByIds);

    /**
     * 设置环境中更换回风指定时间的维护记录,将维护记录的数据拼接成字符串添加到QualityControlReportList对象的属性中
     *
     * @param eqId
     * @param date
     * @param qualityControlReportList
     * @param qcMonitorsMap
     * @param qcMonitorsMap2
     * @param type
     */
    void setRecordForHJ(int eqId, String date,
                                QualityControlReportList qualityControlReportList,
                                Map<Integer, List<QcMonitor>> qcMonitorsMap,
                                Map<String, List<QcMonitor>> qcMonitorsMap2, String type,
                                Map<String, String> allSysUserinfoByIds);



}
